package com.aaa.entity;



import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sun.istack.internal.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
* 
* @TableName dept
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("dept")
public class Dept implements Serializable {
    /**
    * 部门编号
    */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("部门编号")
    private Integer deptno;

    /**
    * 部门名称
    */
    @ApiModelProperty("部门名称")
    private String dname;

    /**
    * 部门位置
    */
    @ApiModelProperty("部门位置")
    private String loc;

    @TableField(exist = false)
    private List<Emp> empList;
}
